/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.chris.webservice.ws.common;

/**
 * 
 * @author chenfangle
 */
public class OmcConstants {

    public static final String SYSTEM_CODE = "240";

    /**
     * map系统
     */
    public static final String NS = "http://locationengine.weizhi.com";
    
    /**
     * 项目易变参数配置文件
     */
    public final static String APPLICATION_PROPERTIES = "META-INF/application.properties";

    // public static final String COMMONDATA_XML =
    // "D:/trunk/EDSP_V3/modules/omc/omcEJB/src/main/resources/META-INF/OMCConfig.xml";
    public static final String COMMONDATA_XML = "/META-INF/OMCConfig.xml";

    public static final String DEVICE_VALUE_TABLE = "tbDeviceAttrValue";
    public static final String PROCESS_VALUE_TABLE = "tbProcAttrValue";
    public static final String ALARM_DETAIL_TABLE = "tbAlarmDetail";

    /**
     * 分表策略
     */
    public static final String TABLE_STRATEGY = "DAY";

    /**
     * 获取NMA上进程管理器的所以进程信息OID
     */
    public static final String PROCESS_INFO_OID = "1.3.6.1.4.1.30720.1.2.1.1.2.0";

    /**
     * 获取NMA上文件数据存储信息OID
     */
    public static final String FILE_DATA_STORAGE_OID = "1.3.6.1.4.1.30720.1.3.2.1.1.0";

    /**
     * 文件删除OID
     */
    public static final String FILE_DELETE_OID = "1.3.6.1.4.1.30720.1.3.2.1.3.0";

    /**
     * 执行脚本OID
     */
    public static final String EXECUTE_SCRIPT_OID = "1.3.6.1.4.1.30720.1.2.2.1.1.0";
    
    /**
     * 数据备份OID
     */
    public static final String DATA_BACKUP_OID = "1.3.6.1.4.1.30720.1.3.3.1.1.0";

    // 常用的公共方法的别名
    public static final String COMMON_CREATE_ALIAS = "添加";//
    public static final String COMMON_UPDATE_ALIAS = "编辑";
    public static final String COMMON_DELETE_ALIAS = "删除";
    public static final String COMMON_QUERY_ALIAS = "查询";
    public static final String COMMON_IMPORT_ALIAS = "导入";
    public static final String COMMON_EXPORT_ALIAS = "导出";

    public static final String COMMON_REBOOT_ALIAS = "启动";
    public static final String COMMON_SHUTDOWN_ALIAS = "停止";

    // 常用的公共方法的标识码（注意01到09为公共方法代码，模块自己的方法重10开始，模块方法的标识不用写在此配置文件里面）
    public static final String COMMON_CREATE_CODE = "01";//
    public static final String COMMON_UPDATE_CODE = "02";
    public static final String COMMON_DELETE_CODE = "03";
    public static final String COMMON_QUERY_CODE = "04";
    public static final String COMMON_IMPORT_CODE = "05";
    public static final String COMMON_EXPORT_CODE = "06";

    public static final String COMMON_REBOOT_CODE = "10";
    public static final String COMMON_SHUTDOWN_CODE = "11";

    // 模块service类的别名
    public static final String CLASS_COMMONDATA_ALIAS = "公共数据管理";
    public static final String CLASS_DEVICEINFO_ALIAS = "设备信息管理";
    public static final String CLASS_LINKINFO_ALIAS = "连接信息管理";
    public static final String CLASS_PROCESSINFO_ALIAS = "进程信息管理";
    public static final String CLASS_DEVICETOPO_ALIAS = "设备拓扑管理";
    public static final String CLASS_IMAGE_ALIAS = "图片管理";
    public static final String CLASS_TOPO_CONFIG_ALIAS = "拓扑配置管理";
    public static final String CLASS_DEVICEMONITORCONFIG_ALIAS = "设备监控配置管理";
    public static final String CLASS_PROCESSMONITORCONFIG_ALIAS = "进程监控配置管理";
    public static final String CLASS_PROCESSTOPO_ALIAS = "进程拓扑管理";
    public static final String CLASS_PARTITIONSTATISTIC_ALIAS = "磁盘统计管理";
    public static final String CLASS_DEVICEPERFORMANCE_ALIAS = "设备性能管理";
    public static final String CLASS_PROCESSPERFORMANCE_ALIAS = "进程性能管理";
    public static final String CLASS_MIBINFO_ALIAS = "MIB库信息管理";
    public static final String CLASS_ALARMLEVER_ALIAS = "告警级别管理";
    public static final String CLASS_ALARMINFO_ALIAS = "告警信息管理";
    public static final String CLASS_CONFIGFILE_ALIAS = "配置文件管理";
    public static final String CLASS_DEVICEALARMINFO_ALIAS = "设备告警信息管理";
    public static final String CLASS_PROCESSALARMINFO_ALIAS = "进程告警信息管理";
    public static final String CLASS_EVENTINFO_ALIAS = "事件信息";
    public static final String CLASS_OMCOPERATIONLOG_ALIAS = "网管操作日志";
    public static final String CLASS_SYSTEMCONTROL_ALIAS = "设备控制";
    public static final String CLASS_DATASTORAGE_ALIAS = "数据存储";
    public static final String CLASS_OMCACCOUNT_ALIAS = "OMC账户管理";
    public static final String CLASS_LOGFILE_ALIAS = "日志文件管理";
    public static final String CLASS_NTPCONFIG_ALIAS = "Ntp时间同步设置管理";

    public static final String CLASS_COMMONDATA_CODE = SYSTEM_CODE + "001";
    public static final String CLASS_DEVICEINFO_CODE = SYSTEM_CODE + "002";
    public static final String CLASS_LINKINFO_CODE = SYSTEM_CODE + "003";
    public static final String CLASS_PROCESSINFO_CODE = SYSTEM_CODE + "004";
    public static final String CLASS_DEVICETOPO_CODE = SYSTEM_CODE + "005";
    public static final String CLASS_IMAGE_CODE = SYSTEM_CODE + "006";
    public static final String CLASS_TOPO_CONFIG_CODE = SYSTEM_CODE + "007";
    public static final String CLASS_DEVICEMONITORCONFIG_CODE = SYSTEM_CODE + "008";
    public static final String CLASS_PROCESSMONITORCONFIG_CODE = SYSTEM_CODE + "009";
    public static final String CLASS_PROCESSTOPO_CODE = SYSTEM_CODE + "010";
    public static final String CLASS_PARTITIONSTATISTIC_CODE = SYSTEM_CODE + "011";
    public static final String CLASS_DEVICEPERFORMANCE_CODE = SYSTEM_CODE + "012";
    public static final String CLASS_PROCESSPERFORMANCE_CODE = SYSTEM_CODE + "013";
    public static final String CLASS_MIBINFO_CODE = SYSTEM_CODE + "014";
    public static final String CLASS_ALARMLEVER_CODE = SYSTEM_CODE + "015";
    public static final String CLASS_ALARMINFO_CODE = SYSTEM_CODE + "016";
    public static final String CLASS_CONFIGFILE_CODE = SYSTEM_CODE + "017";
    public static final String CLASS_DEVICEALARMINFO_CODE = SYSTEM_CODE + "018";
    public static final String CLASS_PROCESSALARMINFO_CODE = SYSTEM_CODE + "019";
    public static final String CLASS_EVENTINFO_CODE = SYSTEM_CODE + "020";
    public static final String CLASS_OMCOPERATIONLOG_CODE = SYSTEM_CODE + "021";
    public static final String CLASS_SYSTEMCONTROL_CODE = SYSTEM_CODE + "022";
    public static final String CLASS_DATASTORAGE_CODE = SYSTEM_CODE + "023";
    public static final String CLASS_OMCACCOUNT_CODE = SYSTEM_CODE + "024";
    public static final String CLASS_LOGFILE_CODE = SYSTEM_CODE + "025";
    public static final String CLASS_NTPCONFIG_CODE = SYSTEM_CODE + "026";
    
}
